package com.ants.boot.wx.dto.selfset;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Min;

/**
 * @author 蚂蚁会花呗
 * @date 2022/5/27 16:22
 */
@ApiModel(value = "更新年龄")
public class WxEditAgeDto {

    @ApiModelProperty(value = "主键id值")
    @Min(value = 1,message = "id不能为空")
    private Integer id;

    @ApiModelProperty(value = "年龄")
    @Min(value = 0,message = "年龄不能为空")
    private Integer age;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
